﻿using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZR.Model.Enum;

namespace CKS.PLC.Action.Subscription.OP30
{
    /// <summary>
    /// 主要是针对无法上传零件消耗，进行匹配式扣减
    /// 触发零件扣减
    /// </summary>
    public class OP30SaveDataAction: SaveProcessingResults
    {
        public OP30SaveDataAction(DecodeValue _value) : base(_value)
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="conn"></param>
        public override AfterSaveResult AfterSaved(SaveArg e)
        {
            UpdateBasketStockWithConn(PartTypeEnum.水嘴大焊环);
            return base.AfterSaved(e);
        }
    }
}
